//
//  UIViewController+YWCategoryPicker.h
//  YWBiubiu
//
//  Created by NeiQuan on 16/8/15.
//  Copyright © 2016年 Mr-yuwei. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger,YWCategoryPickerType)
{
    YWCategoryPickerAgeType,//年龄
    YWCategoryPickerSexType,//性别
};
typedef void(^YWCategoryPickerBlock)(NSString *string);
@interface UIViewController (YWCategoryPicker)<UIPickerViewDelegate,UIPickerViewDataSource>
-(void)viewControllerPOPPickerType:(YWCategoryPickerType)type withsuccessBlock:(YWCategoryPickerBlock)block;
@end
